<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- <link rel="stylesheet" href="../static/js/main.css"> -->
<script type="text/javascript" src="../static/js/webdiv.js"></script>
<style type="text/css">
div.cu-form-group{
	margin : 0 auto;
	float: left;
	width:90%;
	font-size: 16px;
}
div.margin-top-sm {
	margin-top : 1em;
}
.cu-form-group .title{
	display: inline-block;
	font-size: 16px;
	width: 20%;
	text-align: right;
}
.cu-form-group .content{
	width:74%;
	text-align: left;
	height: 2em;
	font-size:16px;
	margin-left: 0.5em;
}
.text-bold{
	font-weight: bold;
}

.cu-btn {
	position: relative;
	border: 0px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0 16px;
	font-size: 16px;
	height: 34px;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	overflow: visible;
	margin-left: initial;
	transform: translate(0px, 0px);
	margin-right: initial;
}

.text-center{
	text-align: center;
}
  .lg{
	display: inline-block;
	width: 80%;
}
 /* .cu-btn.lg {
	width:100%;
	padding: 0 140upx;
	font-size: 32upx;
	height: 80upx;
 }
*/
</style>
</head>
<body>
	<form id="myForm" style="margin-top: 50px;" >
		<input th:value="${sysFile.id}" type="hidden" name="id">
		<div class="cu-form-group margin-top-sm">
				<div class="title text-bold">文件标题</div>
				<input class="content" placeholder="文件标题" name="fileTitle" th:value="${sysFile.fileTitle}"></input>
		</div>
		<div class="cu-form-group margin-top-sm">
				<div class="title text-bold">共享种类</div>
				<select name="fileNature" class="content">
					<option value="">--请选择--</option>
					<option  th:each="item:${fileNatures}" th:value="${item.id}" th:text="${item.name}" th:selected="${sysFile.fileNature!=null&&sysFile.fileNature.id==item.id}"></option>
				</select>
		</div>
		<div class="cu-form-group margin-top-sm">
				<div class="title text-bold">上传文件</div>
				<input type="file" name="file" class="content">
		</div>
		<div class="cu-form-group margin-top-sm text-center">
				<button class="cu-btn bg-grey lg" >提交</button>
		</div>
		
	</form>
	
</body>
</html>